package com.cl.pattern.builder.part2;

/**
 * 产品
 * 人
 * @Author Small
 * @Date 2020/6/2 14:36
 * @Version 1.0
 **/

public class Product {
    /**
     * 头
     */
    private String head;
    /**
     * 身体
     */
    private String body;
    /**
     * 手
     */
    private String hand;
    /**
     * 脚
     */
    private String foot;

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getHand() {
        return hand;
    }

    public void setHand(String hand) {
        this.hand = hand;
    }

    public String getFoot() {
        return foot;
    }

    public void setFoot(String foot) {
        this.foot = foot;
    }

    @Override
    public String toString() {
        return "Person{" +
                "head='" + head + '\'' +
                ", body='" + body + '\'' +
                ", hand='" + hand + '\'' +
                ", foot='" + foot + '\'' +
                '}';
    }
}
